package com.zking.ssm.service;

import com.zking.ssm.model.HotelOrder;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelOrderService {
    int deleteByPrimaryKey(Long id);

    int insert(HotelOrder record);

    int insertSelective(HotelOrder record);

    @Transactional(readOnly = true)
    HotelOrder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelOrder record);

    int updateByPrimaryKey(HotelOrder record);

    @Transactional(readOnly = true)
    List<HotelOrder> SelectAll(HotelOrder hotelOrder , PageBean pageBean);//查询全部

}
